/**
 * Copyright (C) 2011 PROCESSBASE Ltd.
 * This library is free software; you can redistribute it and/or modify it under the terms
 * of the GPL as published by the Free Software Foundation version 3 of the License.
 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Lesser General Public License for more details.
 * You should have received a copy of the GNU Lesser General Public License along with this
 * program; if not, see <http://www.gnu.org/licenses/>.
 */
package org.processbase.touchprocess.ui.template;

import org.processbase.touchprocess.ui.details.DetailsView;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Window.ResizeEvent;
import com.vaadin.ui.Window.ResizeListener;
import org.processbase.touchprocess.ui.navigator.MenuNavigationManager;

public class MainView extends HorizontalLayout implements ResizeListener, ClickListener {

    private static final long serialVersionUID = 1L;
    protected MenuNavigationManager menuNavigationManager = null;
    protected DetailsView detailsView = null;
    protected Button btnMainNavigator;
    protected boolean lastOrientationHorizontal;

    public void windowResized(ResizeEvent e) {
    }

    public void buttonClick(ClickEvent event) {
    }

    public MenuNavigationManager getMenuNavigationManager() {
        return menuNavigationManager;
    }

    public DetailsView getDetailsView() {
        return detailsView;
    }
    
    
   
}
